package top.wkl.springboot3.service;

import top.wkl.springboot3.base.R;
import top.wkl.springboot3.entity.user.TbUser;
import top.wkl.springboot3.vo.AuthUser;
import top.wkl.springboot3.vo.UserPwd;

public interface AuthService {
    R<String> changePwd(UserPwd pwd);

    R<String> reg(AuthUser user);

    boolean auth();

    TbUser queryByName(String name);

    R<TbUser> login(AuthUser user);

    R<TbUser> getLoginUser();

    R<String> logout();
}
